package com.letfox.user.enums;

/**
 * 账号状态、类型枚举类
 */
public class AccountEnums {

	public static final String ACCOUNT_STATE = "ACCOUNT_STATE";

	public static final String ACCOUNT_AUTH_STATE = "ACCOUNT_AUTH_STATE";

	/**
	 * 账号状态
	 */
	public enum AccountState {
		FREEZE("冻结", "0"), STARTUP("启动", "1");

		private String name;
		private String value;

		private AccountState(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}

	/**
	 * 账号认证状态
	 */
	public enum AccountAuthState {
		NO_ACTIVITY("未激活", "0"), ACTIVITY("已激活", "1");

		private String name;
		private String value;

		private AccountAuthState(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
}
